<div class="gs-border">
  
    <h1>Add the <em>Gistr</em> bookmarklet to your 
    <script type="text/javascript">
    if (document.all) document.write('<em>Links</em>');
    else document.write('<em>Bookmarks</em>');
    </script>
    toolbar</h1>
    
    <p>Add the Gistr bookmarklet to your bookmarks toolbar and make it easy to add Gists.</p>
    
    <div>
      <a href="javascript:e=encodeURIComponent;w=window;gs=w.getSelection;d=document;dgs=d.getSelection;l=location;s='http://www.gistr.com/gists/new?u=';w.onerror=function(){l.href=s+e(l.href)+'&t='+e(d.title);};c=gs?gs():dgs?dgs():d.selection?d.selection.createRange().text:'';if(c==''){de=d.getElementsByName('Description');c=de&&de[0]?c=de[0].content:''}l.href=s+e(l.href)+'&t='+e(d.title)+'&c='+e(c);">
        <img src="/images/bookmarklet.gif" alt="Give em the Gist!" title="Give em the Gist!" label="Give em the Gist!"/>
      </a>
    </div>
  
    <div>
    <script type="text/javascript">
      if (document.all)
      {
        document.write('<ol><li>Right click on the Gistr logo above and choose <em>Add to Favorites...</em>.</li><li>Click <em>Yes</em> in the <em>Security Alert</em>.</li><li>Choose the <em>Links</em> folder and click <em>OK</em> or <em>Add</em>.</li></ol>');
        document.write('<p>Your <em>Links</em> toolbar is the gray bar that says <em>Links</em> or <em>Customize Links</em> under the address field of your browser.</p>');
      }
      else
      {
        document.write('<p>Drag the Gistr logo above to your <em>Bookmarks</em> toolbar.</p>');
        document.write('<p>Your <em>Bookmarks</em> toolbar is the gray bar under the address field of your browser.</p>');
      }
    </script>

    </div>

  </div>
